<div class="page-header">
  <h1> 角色 <small> <i class="icon-double-angle-right"> &nbsp;</i> <a  href="#"  data-pageid="this" data-navname="this" class="page_btn" data-url="/Admin/Roles/save">添加角色</a></small> </h1>
</div>
<!-- /.page-header -->
<div class="row">
  <div class="col-xs-12"> 
    <!-- PAGE CONTENT BEGINS -->
    <div class="row">
      <div class="col-xs-12">
        <div class="table-responsive">
          <table id="sample-table-1" class="table table-striped table-bordered table-hover">
            <thead>
              <tr>
                <th width="30">-</th>
                <th>角色</th>
                <th>操作</th>
              </tr>
            </thead>
            <tbody>
            <{foreach from=$data item=item}>
            <tr id="<{$item->gid}>"  parent="<{$item->parent_id}>">
              <td><{$item->gid }></td>
              <td><{$item->gname }></td>
              <td><a href="javascript:void(0)" data-pageid="this" data-navname="this" class="page_btn" data-url="/Admin/Roles/save/gid/<{$item->gid}>">编辑</a> <a class='delete' href="javascript:void(0)" data-message="确定删除分组  '<{$item->gname}>' ? 删除后改组成员将无法登陆" data-url="/Admin/Roles/del/gid/<{$item->gid}>" >删除</a></td>
            </tr>
            <{/foreach}>
              </tbody>
            
          </table>
        </div>
        <!-- /.table-responsive --> 
      </div>
      <!-- /span --> 
    </div>
    <!-- /row --> 
    
    <{include file="elements/page.html"}> 
    <!-- PAGE CONTENT ENDS --> 
  </div>
  <!-- /.col --> 
</div>
<!-- /.row --> 
